<template>
    <div>
        <van-search v-model="value" shape="round" placeholder="海底两万里" @click="fun1"/>
        <van-icon id="sa" name="scan" />
        <van-icon id="right" name="other-pay" />
    </div>
</template>

<script>
    export default {
        setup() {
            const onClickLeft = () => history.back();
            return {
            onClickLeft,
            };
        },
        methods: {
            fun1() {
                this.$router.push({name:"search",params:{name:"type"}});
            }
        },
    }
</script>

<style lang="scss" scoped>
    div{
        display: flex;
        flex-wrap: 1;
        width: 100%;
        .van-search{
            width: 90vw;
        }
        #sa{
            right: 11vw;
            top: 5vw;
            font-size: 5vw;
        }
        #right{
            font-size: 6vw;
            top: 4vw;
            right: 4vw;
        }
    }
</style>